package com.lanmaoly.cunzheng.enumDemo;

public enum EnumDemo2 {

	FIRST {
		@Override
		public String getInfo() {
			return "FIRST TIME";
		}
	},
	SECOND {
		@Override
		public String getInfo() {
			return "SECOND TIME";
		}
	};

	/**
	 * ������󷽷�
	 * 
	 * @return
	 */
	public abstract String getInfo();

	// ����
	public static void main(String[] args) {
		System.out.println("F:" + EnumDemo2.FIRST.getInfo());
		System.out.println("S:" + EnumDemo2.SECOND.getInfo());
		/**
		 * ������: F:FIRST TIME S:SECOND TIME
		 */
	}
	
}